package com.zhongying.jf.exception;

import com.chinazyjr.framework.common.exceptions.BizException;

/**
 * Created with IntelliJ IDEA.
 * User: liuhao
 */
public class UserManageBusinessException extends BizException {

	private static final long serialVersionUID = 5418975378355972525L;

	private String errorCode;

    private String message;

    public UserManageBusinessException() {
        super();
    }

    public UserManageBusinessException(Throwable throwable ) {
        super(throwable);
    }

    public UserManageBusinessException(String errorCode) {
        super();
        this.message = errorCode;
    }

    public UserManageBusinessException(String errorCode, String message) {
        super(errorCode,message);
        this.errorCode = errorCode;
        this.message = message;
    }

    public UserManageBusinessException(String errorCode, String message, Throwable throwable) {
        super(errorCode,message, throwable);
        this.errorCode = errorCode;
        this.message = message;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
